﻿using BootstrapBlazor.Components;
using BPM.Web.Shared.Data;

namespace BPM.Web.Shared.Service;

public interface ISysTenantService
{
    Task<bool> AddAsync(TenantOutput input);
    Task<bool> DeleteAsync(TenantOutput input);
    Task<bool> DeleteAsync(IEnumerable<TenantOutput> input);
    Task<SysTenant?> DetailAsync(TenantOutput input);
    Task<bool> EditAsync(TenantOutput input);
    Task<bool> GrantMenuAsync(IEnumerable<long>? grantMenuIdList, TenantOutput input);
    List<TreeItem> OwnMenu(TenantOutput input);
    Task<QueryData<TenantOutput>> PageAsync(TenantPageInput input);
    Task<bool> ResetPwdAsync(TenantOutput input);
}
